<form class="layui-form layui-box modal-form-box" action="{:request()->url()}" data-auto="true" method="post">


    <div class="layui-form-item">
        <label class="layui-form-label">学生卡</label>
        <div class="layui-input-block">
            <input type="text" name="cart_no" value='{$list.cart_no|default=""}' required="required" title="请输入卡号" placeholder="请输入卡号" class="layui-input">
            <p class="help-block color-desc"><b>必填</b></p>
        </div>
    </div>



    <div class="hr-line-dashed"></div>

    <div class="layui-form-item text-center">
        {if isset($list['id'])}<input type='hidden' value='{$list.id}' name='id'>{/if}
        <button class="layui-btn" type='submit'>保存数据</button>
        <button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消编辑吗？" data-close>取消编辑</button>
    </div>


</form>
